import { Suspense } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import App from "./App.jsx";
import { Provider } from "react-redux";
import store from "./store/store.js";

createRoot(document.getElementById("root")).render(
  <Provider store={store}>
      <Suspense fallback={<div>加载中……</div>}>
    <App />
  </Suspense>
  </Provider>

);
